#ifndef JSTLMODEL_H
#define JSTLMODEL_H

#include <QObject>
#include "QGLViewer/qglviewer.h"
#include "stlmodel.h"

class JGLWidget;

class JSTLModel : public QObject
{
	Q_OBJECT

public:
	JSTLModel(JGLWidget* glwidget, const QString& filename);
	~JSTLModel();

public slots:
	void draw();

private:
	STLModel m_Model;
	GLuint m_ModelDisplayList;

	bool m_bShow;
};

#endif // JSTLMODEL_H
